import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { HttpClientModule } from '@angular/common/http';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';

import {NgbModule, NgbPaginationModule} from '@ng-bootstrap/ng-bootstrap';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';

import { HeaderComponent } from './components/header/header.component';
import { HomeComponent } from './views/home/home.component';
import { LayoutComponent } from './layout/layout.component';
import { IntroduceComponent } from './views/introduce/introduce.component';
import { HomeworkListComponent } from './views/homework-list/homework-list.component';
import { CourseComponent } from './views/course/course.component';
import { CourseModalComponent } from './components/course-modal/course-modal.component';
import { WorkModalComponent } from './components/work-modal/work-modal.component';
@NgModule({
    declarations: [
        AppComponent,
        HeaderComponent,
        HomeComponent,
        LayoutComponent,
        IntroduceComponent,
        HomeworkListComponent,
        CourseComponent,
        CourseModalComponent,
        WorkModalComponent,
    ],
  imports: [
    BrowserModule,
    NgbModule,
    NgbPaginationModule,
    AppRoutingModule,
    HttpClientModule,
    FormsModule,
    ReactiveFormsModule,
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
